﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 收款单行AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class RecBillLineAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public RecBillLineAITDTOData()
		{
			initData();
		}
		private void initData()
		{
					LineNum= 0; 
				
					Money=0m; 
		
					RecProperty= 0; 
				
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        			if (this.SettlementMethod != null) 
			{
				this.SettlementMethod.DoSerializeKeyList(dict);
			}
	        	        			if (this.IncomeExpendItem != null) 
			{
				this.IncomeExpendItem.DoSerializeKeyList(dict);
			}
	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.RecBkAccount != null) 
			{
				this.RecBkAccount.DoSerializeKeyList(dict);
			}
	        	        			if (this.RecBk != null) 
			{
				this.RecBk.DoSerializeKeyList(dict);
			}
	        			if (this.RecBillHeadAITDTO != null) 
			{
				this.RecBillHeadAITDTO.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.TaxSchedule != null) 
			{
				this.TaxSchedule.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public RecBillLineAITDTOData(  System.Int32 lineNum  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData settlementMethod  , System.Decimal money  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData incomeExpendItem  , System.Int32 recProperty  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData recBkAccount  , System.String recBkAccName  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData recBk  , ufida.u9.ait.openapi.RecBillHeadAITDTOData recBillHeadAITDTO  , System.String effectiveDate  , System.String maturity  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData taxSchedule  )
		{
			initData();
			this.LineNum = lineNum;
			this.SettlementMethod = settlementMethod;
			this.Money = money;
			this.IncomeExpendItem = incomeExpendItem;
			this.RecProperty = recProperty;
			this.DescFlexField = descFlexField;
			this.RecBkAccount = recBkAccount;
			this.RecBkAccName = recBkAccName;
			this.RecBk = recBk;
			this.RecBillHeadAITDTO = recBillHeadAITDTO;
			this.EffectiveDate = effectiveDate;
			this.Maturity = maturity;
			this.TaxSchedule = taxSchedule;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 行号
		/// 收款单行AITDTO.Misc.行号
		/// </summary>
		private System.Int32 m_lineNum ;
		[DataMember(IsRequired=false)]
		public System.Int32 LineNum
		{
			get	
			{	
				return m_lineNum ;
			}
			set	
			{	
				m_lineNum = value ;	
			}
		}
			
		

		/// <summary>
		/// 结算方式
		/// 收款单行AITDTO.Misc.结算方式
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_settlementMethod ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SettlementMethod
		{
			get	
			{	
				return m_settlementMethod ;
			}
			set	
			{	
				m_settlementMethod = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款金额
		/// 收款单行AITDTO.Misc.收款金额
		/// </summary>
		private System.Decimal m_money ;
		[DataMember(IsRequired=false)]
		public System.Decimal Money
		{
			get	
			{	
				return m_money ;
			}
			set	
			{	
				m_money = value ;	
			}
		}
			
		

		/// <summary>
		/// 收支项目
		/// 收款单行AITDTO.Misc.收支项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_incomeExpendItem ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IncomeExpendItem
		{
			get	
			{	
				return m_incomeExpendItem ;
			}
			set	
			{	
				m_incomeExpendItem = value ;	
			}
		}
			
		

		/// <summary>
		/// 用途
		/// 收款单行AITDTO.Misc.用途
		/// </summary>
		private System.Int32 m_recProperty ;
		[DataMember(IsRequired=false)]
		public System.Int32 RecProperty
		{
			get	
			{	
				return m_recProperty ;
			}
			set	
			{	
				m_recProperty = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 收款单行AITDTO.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款银行账号
		/// 收款单行AITDTO.Misc.收款银行账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_recBkAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RecBkAccount
		{
			get	
			{	
				return m_recBkAccount ;
			}
			set	
			{	
				m_recBkAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款银行名称
		/// 收款单行AITDTO.Misc.收款银行名称
		/// </summary>
		private System.String m_recBkAccName ;
		[DataMember(IsRequired=false)]
		public System.String RecBkAccName
		{
			get	
			{	
				return m_recBkAccName ;
			}
			set	
			{	
				m_recBkAccName = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款银行
		/// 收款单行AITDTO.Misc.收款银行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_recBk ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData RecBk
		{
			get	
			{	
				return m_recBk ;
			}
			set	
			{	
				m_recBk = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款单单AITDTO
		/// 收款单行AITDTO.Misc.收款单单AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.RecBillHeadAITDTOData m_recBillHeadAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.RecBillHeadAITDTOData RecBillHeadAITDTO
		{
			get	
			{	
				return m_recBillHeadAITDTO ;
			}
			set	
			{	
				m_recBillHeadAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 到期日
		/// 收款单行AITDTO.Misc.到期日
		/// </summary>
		private System.String m_effectiveDate ;
		[DataMember(IsRequired=false)]
		public System.String EffectiveDate
		{
			get	
			{	
				return m_effectiveDate ;
			}
			set	
			{	
				m_effectiveDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 到期日
		/// 收款单行AITDTO.Misc.到期日
		/// </summary>
		private System.String m_maturity ;
		[DataMember(IsRequired=false)]
		public System.String Maturity
		{
			get	
			{	
				return m_maturity ;
			}
			set	
			{	
				m_maturity = value ;	
			}
		}
			
		

		/// <summary>
		/// 税组合
		/// 收款单行AITDTO.Misc.税组合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_taxSchedule ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TaxSchedule
		{
			get	
			{	
				return m_taxSchedule ;
			}
			set	
			{	
				m_taxSchedule = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																										
		#endregion 
	} 	
}
